<template>
  <div style="margin-right: 8px;margin-left: 8px">
    <h2 style="color: #0352f1">项目ING</h2>
    <el-row :gutter="20">
      <el-col :span="8" v-for="(project, index) in projects" :key="index">
        <el-card :body-style="{ padding: '0px' }">
          <img :src="project.image" class="image" style="width: 100px; height: 100px;"/>
          <div style="padding: 14px;">
            <span>{{ project.title }}</span>
            <div class="bottom card-header">
              <el-button text class="button">查看详情</el-button>
            </div>
          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  data() {
    return {
      projects: [
        { title: 'mysql', image: '/logo/mysqlpng.png' },
        { title: 'mariadb', image: '/logo/mariadb.png' },
        { title: 'clickhouse', image: '/logo/clickhouse.png' },
        // 更多项目...
      ]
    };
  }
}
</script>